#include "utils.au3"
#include <IE.au3>
#Include <GuiCombo.au3>

$hWindow = FindMainDwar()
$Parent = FindParentDwar()

$list = WinList("classname=MacromediaFlashPlayerActiveX");

For $i = 1 to $list[0][0]
	;ConsoleWrite($list[$i][0] & $list[$i][1] & @LF);
	$rect = ControlGetPos ("", "", $list[$i][1])
	;ConsoleWrite($rect[0] & " " & $rect[1] & " " & $rect[2] & " " & $rect[3] & " " & @LF);
	if $rect[2] = 64 And $rect[3] = 220 And IsParent($hWindow, $list[$i][1]) Then
		;ConsoleWrite("subwindow = " & $list[$i][1] & @LF);
		$hSubWindow = $list[$i][1];
		ExitLoop
	EndIf
Next

_SendMessage($hWindow, $WM_PARENTNOTIFY, $WM_LBUTTONDOWN, MAKELRESULT(1245, 156));
ClickWindow($Parent, $hSubWindow, 37, 75, 300)

